<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="org.apache.struts2.ServletActionContext"%>
<%@page import="com.jspsmart.upload.SmartUpload"%>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>ecommerce Download Page</title>
  </head>
  
  <body>
  
  <%
  
	String filePath = (String)ServletActionContext.getRequest().getAttribute("filePath");
    
	SmartUpload su = new SmartUpload();
	su.initialize(pageContext);
	su.setContentDisposition(null);
	su.downloadFile(filePath);
	out.clear();
	out = pageContext.pushBody();
	
	%>
  
  </body>
</html>
